package com.ss.whisper2.exception;

import com.ss.whisper2.pojo.State;

public class GlobalException extends RuntimeException{
    private State state;

    public GlobalException(State state) {
        super(state.toString());
        this.state=state;
    }

    public State getState() {
        return state;
    }
}
